package net.xju.dao;

import net.xju.common.utils.JdbcUtilsV1;
import net.xju.entity.CarouselImage;

import java.util.List;

public class CarouselImageDao {
    public List<CarouselImage> list() {
        String sql = "SELECT id, image_url FROM CarouselImages";
        return JdbcUtilsV1.executeQuery(JdbcUtilsV1.getConnection(), CarouselImage.class, sql);
    }
}